package com.max.cms0.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.max.cms0.entity.User;
import com.baomidou.mybatisplus.extension.service.IService;
import com.max.cms0.entity.ext.userExtend;

import java.util.List;

/**
* @author lenovo
* @description 针对表【cms_user】的数据库操作Service
* @createDate 2024-11-18 14:40:07
*/
public interface UserService extends IService<User> {
    public User login(String username, String password);

    public User queryById(Long id);
    public IPage<userExtend> query(Integer pageNum, Integer
            pageSize, String username, String status, Integer roleId,
                                   Integer isVip);
}
